/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  com.alibaba.fastjson.JSON
 */
package com.gys.common.business;

import com.alibaba.fastjson.JSON;
import com.gys.common.data.HttpJson;
import com.gys.common.util.ConstUtil;
import com.gys.common.util.HttpClientUtil;
import com.gys.data.physicalCount.GetPhysicalCountInData;

public class PhysicalCountUtil {
    public static HttpJson selectPhysicalOne(GetPhysicalCountInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/physicalCount/selectPhysicalOne", JSON.toJSONString(param));
    }

    public static HttpJson selectPhysical(GetPhysicalCountInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/physicalCount/selectPhysical", JSON.toJSONString(param));
    }

    public static HttpJson savePhysical(GetPhysicalCountInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/physicalCount/savePhysical", JSON.toJSONString(param));
    }

    public static HttpJson approvePhysical(GetPhysicalCountInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/physicalCount/approvePhysical", JSON.toJSONString(param));
    }

    public static HttpJson savePhysicalDiff(GetPhysicalCountInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/physicalCount/savePhysicalDiff", JSON.toJSONString(param));
    }

    public static HttpJson selectPhysicalDiff(GetPhysicalCountInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/physicalCount/selectPhysicalDiff", JSON.toJSONString(param));
    }

    public static HttpJson updatePhysicalDiff(GetPhysicalCountInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/physicalCount/updatePhysicalDiff", JSON.toJSONString(param));
    }

    public static HttpJson approvePhysicalDiff(GetPhysicalCountInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/physicalCount/approvePhysicalDiff", JSON.toJSONString(param));
    }
}

